<template>
  <div class="div">
    <div class="div_left">
      <div style="width: 250px;margin: auto;">
        <el-button @click="tiaozhuan" class="div_btn" type="info">
          <i class="el-icon-top-right"></i>
          题库管理
        </el-button>
      </div>
      <el-col :span="8" class="cols">
        <el-card shadow="hover"><el-button type="text" @click="Timu" style="font-size: 20px;">题目管理</el-button></el-card>
      </el-col>
      <el-col :span="8" class="cols">
        <el-card shadow="hover"><el-button type="text" @click="Kecheng" style="font-size: 20px;">课程管理</el-button></el-card>
      </el-col>
      <el-col :span="8" class="cols">
        <el-card shadow="hover"><el-button type="text" @click="Caidan" style="font-size: 20px;">菜单管理</el-button></el-card>
      </el-col>
      <el-col :span="8" class="cols">
        <el-card shadow="hover"><el-button type="text" @click="Tianjia" style="font-size: 20px;">添加题目</el-button></el-card>
      </el-col>
    </div>
    <div class="div_right">
      <el-empty :image-size="200"></el-empty>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  }
};
</script>

<style scoped>
.div {
  width: 1400px;
  height: 730px;
  /* background-color: black; */
  margin: auto;
  padding-top: 20px;
}
.div_btn {
  width: 250px;
  height: 100px;
  font-size: 35px;
  margin-bottom: 20px;
  border-radius: 35px;
}
.div_left {
  width: 30%;
  height: 100%;
  float: left;
}
.div_right {
  height: 100%;
  width: 70%;
  float: left;
}
.cols{
  margin-top: 5%;
  margin-left: 11%;
  text-align: center;
}
</style>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    tiaozhuan() {
      this.$router.push("/home?name=题库管理");
    },
    Timu(){
      this.$router.push("/qtype?name=题目管理");
    },
    Kecheng(){
      this.$router.push("/muban?name=课程管理");
    },
    Caidan(){
      this.$router.push("/muban?name=菜单管理");
    },
    Tianjia(){
      this.$router.push("/ItemManagement?name=添加题目");
    },
  }
};
</script>